DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1FilterDataCollection<T> Class / MoveAsync Method
From index.
To index.
The cancellation token.

In This Topic
    MoveAsync Method (C1FilterDataCollection<T>)
    In This Topic
    Moves an item from the specified position to the new one.
    Syntax
    'Declaration
     
    Public Overrides Function MoveAsync( _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer, _
       ByVal cancellationToken As CancellationToken _
    ) As Task
    public override Task MoveAsync( 
       int fromIndex,
       int toIndex,
       CancellationToken cancellationToken
    )

    Parameters

    fromIndex
    From index.
    toIndex
    To index.
    cancellationToken
    The cancellation token.
    See Also